package com.qf.mvc2203.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/u")
public class ForwController {
    @RequestMapping("/test1")
    public String test1(){
        System.out.println("test1");
        return "/views/user.html";

    }
    @RequestMapping("/test2")
    public String test2(){
        System.out.println("test2");
        return "forward:test1";
    }
}
